﻿using System;
using System.ComponentModel;
using System.Net.Sockets;
using System.Net;
using BrainTechLLC.ThreadSafeObjects;

namespace BrainTechLLC
{
    #if NO_SILVERLIGHT
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
#endif
    public interface ICommIncomingConnection : ICommunicationsBase, ICommServerReceivesCommands
    {
        ICommunicationsServer Server { get; set; }
        IIncomingMessageHandler IncomingMessageHandler { get; set; }
        ILockable ReadLock { get; }
        ILockable WriteLock { get; }
        ILockable ProcessLock { get; }
    }
}
